Component({
  properties: {
    title: {
      type: String,
      value: ''
    },
    showSterisk: {
      type: Boolean,
      value: true
    },
    placeholder: {
      type: String,
      value: ''
    },
    password: {
      type: Boolean,
      value: false
    },
    disabled: {
      type: Boolean,
      value: false
    },
    // 用于Form表达
    name: {
      type: String,
      value: ''
    },
    focus: {
      type: Boolean,
      value: false
    },
    type: {
      type: String,
      value: 'text'
    },
    value: {
      type: String,
      value: ""
    },
    isArrowShow: {
      type: Boolean,
      value: false
    }
  },
  methods: {
    bindInput: function (e) {
      const myEventDetail = {
        value: e.detail.value
      }
      this.triggerEvent('input', myEventDetail);
    }
  }
})